<?php
/**
 * 存放错误信息与错误码
 */
return [
    'SYSTEM_ERROR' => ['code' => 400000, 'msg' => '系统错误'],
    'PARAM_ERROR' => ['code' => 400001, 'msg' => '参数错误'],
    'SIGN_ERROR' => ['code' => 400002, 'msg' => '签名错误'],
    'ILLEGAL_REQUEST' => ['code' => 400003, 'msg' => '非法请求'],
    'NOT_LOGIN' => ['code' => 400004, 'msg' => '对不起,您还未登录'],
    'TOKEN_EXPIRED' => ['code' => 400005, 'msg' => '登录失效,请重新登录'],
    'TOKEN_ERROR' => ['code' => 400006, 'msg' => 'token错误'],
    'MEMBER_NOT_EXIST' => ['code' => 400007, 'msg' => '用户信息不存在'],
    'ORDER_UPDATE_ERROR' => ['code' => 400008, 'msg' => '更新订单状态失败'],
    'NO_DATA' => ['code' => 400009, 'msg' => '暂无数据'],
    'UPDATE_FAIL' => ['code' => 400010, 'msg' => '更新失败'],
    'INSERT_FAIL' => ['code' => 400011, 'msg' => '插入失败'],
    'NETWORK_ERROR' => ['code' => 400012, 'msg' => '网络错误'],
    'WECHAT_CONFIG_ERROR' => ['code' => 400013, 'msg' => '微信配置信息错误'],
    'WECHAT_UNIFIED_ORDER_FAIL' => ['code' => 400014, 'msg' => '微信统一下单失败'],
    'PASSWORD_NOT_RIGHT' => ['code' => 400015, 'msg' => '密码不正确'],
    'USERNAME_NOT_EXIST' => ['code' => 400016, 'msg' => '账户不存在'],
	'USER_RESTRICT_LOGIN' => ['code' => 400017, 'msg' => '您已被限制登录，如需登录请联系管理员处理'],
    'EXCEED_MAX_ERROR_LOGIN_TIMES' => ['code' => 400018, 'msg' => '输入错误密码次数过多，今天已被限制登录'],
	'PASSWORD_NOT_ALIKE' => ['code' => 400019, 'msg' => '两次新设密码不一致'],
	'PASSWORD_CAN_NOT_ALIKE' => ['code' => 400020, 'msg' => '原密码与新设密码不能一致'],
	'PAID' => ['code' => 400021, 'msg' => '订单已支付'],
	'WECHAT_INTERNAL_ERROR' => ['code' => 400022, 'msg' => '获取session_key及openID时异常，微信内部错误'],
	
	'NO_CLASS_TIME' => ['code' => 400024, 'msg' => '请选择上课时间'],
	'DUPLICATE_CLASS_NAME' => ['code' => 400025, 'msg' => '班级名字重复'],
	'SCHEDULING_FAILURE' => ['code' => 400026, 'msg' => '排班失败'],
	'UPDATE_STATUS_FAILED' => ['code' => 400041, 'msg' => '更新跟班补课状态失败'],
	'INSERT_STUDENT_INFORMATIOM_FAILED' => ['code' => 400042, 'msg' => '插入学生信息失败'],
	'INSERT_STUDENT_CLASS_FAILED' => ['code' => 400043, 'msg' => '插入学生课节详情信息失败'],
	'LESSON_DIVISION_FAILED' => ['code' => 400044, 'msg' => '补课分班失败'],
	'LESSON_INFO_CLASS_FAILED' => ['code' => 400045, 'msg' => '补课详情课节生成失败'],
	'UPDATE_LESSON_GRADES_OPEN_RECORD_FAILED' => ['code' => 400046, 'msg' => '更新补课开班记录失败'],
	'UPDATE_LESSON_GRADES_OPEN_STATUS_FAILED' => ['code' => 400047, 'msg' => '更新补课班级状态失败'],
	'UPDATE_LESSON_GRADES_OPEN_COURSE_STATUS_FAILED' => ['code' => 400048, 'msg' => '更新班级对应课程补课状态失败'],
	'UPDATE_GRADES_CLASS_FAILED' => ['code' => 400049, 'msg' => '更新班课状态失败'],
	'UPDATE_CLASS_STATUS_FAILED' => ['code' => 400050, 'msg' => '更新节课状态失败'],
	'DELETE_EXCEPTION' => ['code' => 400051, 'msg' => '删除异常'],
	'SCHEDULE_DELETE_EXCEPTION' => ['code' => 400052, 'msg' => '排课删除异常'],
	'SCHEDULE_CLASS_FAILED' => ['code' => 400053, 'msg' => '排课分班失败'],
	'CLASS_NOT_SCHEDULE' => ['code' => 400054, 'msg' => '该班级没有排课'],
	'BREAKDOWN_FAILURE' => ['code' => 400055, 'msg' => '分班失败'],
	'UPDATE_OPEN_GRADES_RECORD_FAILED' => ['code' => 400056, 'msg' => '更新开班记录失败'],
	'DELETE_SCHEDULE_FAILED' => ['code' => 400057, 'msg' => '删除进度失败'],
	'REFUND_FAILED' => ['code' => 400058, 'msg' => '退款失败'],
	'UPDATE_ONLY_STORED_FAILED' => ['code' => 400059, 'msg' => '更新个人账户储蓄余额失败'],
	'UPDATE_COURSE_PROJECT_FAILED' => ['code' => 400060, 'msg' => '更新课程项目失败'],
	'UPDATE_GRADES_PROJECT_FAILED' => ['code' => 400061, 'msg' => '更新班级项目失败'],
	'UPDATE_CONTRACT_PAY_COURSE_PROJECT_FAILED' => ['code' => 400062, 'msg' => '更新合同课程到款项目失败'],
	'UPDATE_CONTRACT_PAY_GRADES_PROJECT_FAILED' => ['code' => 400063, 'msg' => '更新合同班级到款项目失败'],
];